import api from "@/api/axiosApi"
//帖子
const znMessage = {
    SearchZnMessageAll(url,params){
        return api.get(url,params)
    },
	editZnMessage(url,params){
		return api.put(url,params)
	},
	deleteZnMessage(url,params){
		return api.del(url,params)
	},
	addZnMessage(url,params){//新增帖子
		return api.post(url,params)
	},
	getMessageDetail(url,params){//帖子详情
		return api.get(url,params)
	},
	getZnMessageAll(url,params){
		return api.get(url,params)
	},
}

export default znMessage;